home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / dbase / modcom11.zip / MODCOM.TXT < prev    next >
Text File  |  1992-09-29  |  9KB  |  207 lines

  1.  
  2.                                MODCOM 1.0
  3.                                    by
  4.                                Tim Dickey
  5.                              COPYRIGHT 1992
  6. ═══════════════════════════════════════════════════════════════════════════
  7.  
  8. MODCOM is an offshoot of another program called DBPRG which is a CLIPPER
  9. program editor.  MODCOM has been specifically designed to be used as the
  10. COMMAND EDITOR within DBASE III+.  It does not have all of the features
  11. of DBPRG because it was designed to maximize the available memory.  
  12.  
  13. Also I have eliminated all of the LIBRARY function calls which I included
  14. in DBPRG for the obvious reason that these function calls are useless in
  15. a DBASE III program.  Further, I attempted to get rid of all the CLIPPER
  16. specific Commands from the Command database.  I believe I got them all but
  17. if I failed to delete one or two just ignore them.
  18.  
  19. What is left after all of this elimination is still quite a powerful
  20. Command editor.  I hope that it is useful to you.
  21.  
  22. ═════════════════════════════INSTALLATION══════════════════════════════════
  23.  
  24. To install MODCOM do the following:
  25.  
  26. 1. Make a directory off of your root directory called \MODCOM and place it
  27.     in the PATH statement in your AUTOEXEC.BAT file. (This is important
  28.     because MODCOM looks for it's data files in this directory... it writes
  29.     PRG's wherever it happens to be called from thus you may call MODCOM
  30.     from any directory and it will function properly).  
  31.  
  32. 2. Copy MODCOM.ZIP into that directory and UNZIP it there.
  33.  
  34. 3. REBOOT to establish the PATH
  35.  
  36. 4. In your config.db file  (if you don't have one of these you should make
  37.     one...see DBASE III+ manual)...place the statement TEDIT=MODCOM
  38.     and MODCOM will be called whenever you issue the command MODIFY COMMAND
  39.     from within DBASE III+.
  40.  
  41. (USER FRIENDLY TIP) -- You may want to append the following feature 
  42. discussion to the end of the file called hlp.prg while you are learning
  43. the commands.  That way if you have a question you can hit F1 and page 
  44. down to reveal that text.  It uses memory or I would have done that
  45. for you.
  46. ══════════════════════════════FEATURES═════════════════════════════════════
  47.  
  48. KEY  FUNCTION                    ACTION
  49. ═══════════════════════════════════════════════════════════════════════════
  50. F1        HELP                        Help screen
  51.  
  52. F2   COMMAND MACROS            Pressing F2 within the editor causes a popup 
  53.                                     list of commands to appear.  This list responds
  54.                                     to the first KEY protocol.  If you press 'D' 
  55.                                     the first selection starting with D will come
  56.                                     to the top of the screen.  Pressing Enter will
  57.                                     cause the Command (together with its syntax to
  58.                                     be transferred to your program starting at the
  59.                                     cursor.  You can then "fill in the blanks" with
  60.                                     the syntax or just delete it.
  61.  
  62. F3     FUNCTION MACROS        Pressing F3 within the editor causes a popup
  63.                                     list of functions to appear.  This list responds
  64.                                     to the first KEY protocol.  If you press 'D' 
  65.                                     the first selection starting with D will come
  66.                                     to the top of the screen.  Pressing Enter will
  67.                                     cause the Function (together with its syntax to
  68.                                     be transferred to your program starting at the
  69.                                     cursor.  You can then "fill in the blanks" with
  70.                                     the syntax or just delete it.
  71.  
  72. F4        VARIABLE ENTER            Pressing F4 will cause a single entry screen to
  73.                                     pop up over the screen.  You may enter a Variable 
  74.                                     of up to 15 characters.  When you press enter
  75.                                     The Variable will be transferred to your program
  76.                                     starting at the cursor.  The Variable is also
  77.                                     stored in a database of up to 100 variables for
  78.                                     later recall using F5.
  79.  
  80. F5        VARIABLE SELECT         Pressing F5 pops up a selectable list of  
  81.                                     Variables which you have previously entered
  82.                                     using F4.  Use the arrow keys or Page Up and 
  83.                                     down to find the variable name and then press
  84.                                     ENTER to transfer the Variable to your program.
  85.  
  86. ALT-F5  VARIABLE LIST        Pops up the Variable list but does not copy it 
  87.                                     to your program when you exit.
  88.  
  89. CTRL-F5 DELETE VARIABLE      Pops up the list of variables from which you
  90.                                     may select one to delete. 
  91.  
  92. F6     IMPORT PROGRAM            Pops up a list of available PROGRAM FILES in the
  93.                                     current directory which you may select from.
  94.                                     Pressing ENTER will cause the contents of the
  95.                                     selected file to be imported to the program
  96.                                     starting at the cursor.  (see warning below)
  97.  
  98. F7      ASSIST                     Once you have entered a COMMAND or FUNCTION
  99.                                     using F2 or F3 pressing F7 will pop up a syntax
  100.                                     help screen to help you remember what all those
  101.                                     "exp2" and "Nexp3" etc etc mean.
  102.  
  103. F8        COPY BLOCK TO MEM        After using ALT-M to mark the beginning and end
  104.                                     of a block.  Use F8 to copy it to memory.  Then
  105.                                     use ALT-P to paste it.
  106.  
  107. ALT-F8 COPY BLOCK TO FILE    After using ALT-M to mark the beginning and end
  108.                                     of a block. Use ALT-F8 to copy the block to a
  109.                                     file.
  110.  
  111. F9        CHR() ENTER                Pressing F9 will cause the next character you 
  112.                                     enter to be converted to the form "CHR(NUM)".
  113.                                     If you hold down the ALT KEY and enter numbers
  114.                                     from the KEYPAD the numbers will appear inside
  115.                                     the CHR( ) parenthesis.  By the way if you 
  116.                                     don't press ALT-9 first holding down the
  117.                                     ALT KEY will cause the non-keyboard character
  118.                                     to be written to your program.
  119.  
  120.                                     example: Holding ALT down and pressing 1 7 7
  121.                                     will cause '▒'.
  122.                                     Hitting F9 then ALT+1+7+7 will result in 
  123.                                     CHR(177).  HITTING F9 and then ALT+F2 will give
  124.                                     you CHR(-31)
  125.  
  126. F10    SAVE/EXIT                Same thing as hitting CTRL-W.
  127.  
  128. ALT-S SAVE                         Saves the program to the data base and returns to 
  129.                                     the edit screen.
  130.  
  131. ALT-M                             Mark a block -you need two marks to make a block
  132.  
  133. ALT-P                                After saving a marked block to memory use Alt-P
  134.                                     to paste it into the text.
  135.  
  136. ALT-F 
  137. or                                    Enter a line number to go to. 
  138. ALT-L
  139.  
  140. ═════════════════════WARNING═══WARNING══WARNING════════════════════════════
  141.  
  142. Using F6 to import a program file will cause all the semi-colons to be 
  143. transformed into line feeds.  So if you use a lot of semi-colons don't
  144. use F6.  Thus if you use 
  145.  
  146.         x='this is a very long line which I will break here'; <-(semi-colon)
  147.             'and continue here so that I can read it all'
  148.  
  149. an attempt to IMPORT using F6 it will come out like this
  150.  
  151.         x='this is a very long line which I will break here' <-(linefeed)
  152.  
  153.             'and continue here so that I can read it all'
  154.  
  155. and crash your program. There is a fix for this but you will have to 
  156. register the program to get it.  
  157.  
  158. ══════════════════════════════════════════════════════════════════════════
  159.                               Disclaimer                                      
  160. ══════════════════════════════════════════════════════════════════════════
  161.      
  162. Tim Dickey distributes this program solely on an "as is" basis and offers
  163. no warranties at all.
  164.  
  165. Tim Dickey shall not bear any liability or responsibility to any user or
  166. entity with respect to any liability, loss or damage caused, or alleged to
  167. be caused directly, or indirectly by this program, including but not
  168. limited to interruption of services, loss of business or anticipatory
  169. profits or consequential damages resulting from the use or operation of
  170. any of the functions contained in this product.
  171.  
  172. Tim Dickey makes no warranties, either expressed or implied regarding this
  173. software product, it's merchantability and/or it's fitness for a
  174. particular purpose. The user agrees that Tim Dickey shall not be held
  175. liable for any consequential damages, even if Tim Dickey has been advised
  176. of the possibility of such damages.
  177. ══════════════════════════════════════════════════════════════════════════
  178.                               Shareware              
  179. ══════════════════════════════════════════════════════════════════════════
  180. MODCOM is being distributed under the shareware concept.
  181.  
  182. You are granted the right to use this program for a trial period of thirty
  183. (30) days, at which time you must either stop using the program, or pay
  184. the registration fee of US $25 (subject to change) I will handle the
  185. postage in the USA. You may send in your registration fee to:
  186.  
  187.                                Tim Dickey
  188.                            6951 Homer St. #14
  189.                           Westminster CA  92683
  190.                              (714)891-2759
  191.  
  192. Registered Owners will receive the other part of the system which allows
  193. updating of the Command and Function databases and the associated help
  194. screens and the maintenance program for the PRG.DBF database...to allow
  195. you to delete programs, and import programs without the semi-colon
  196. problem.
  197.  
  198. ══════════════════════════════════════════════════════════════════════════
  199.                               Trademarks                                
  200. ══════════════════════════════════════════════════════════════════════════
  201. Clipper is a Trademark of Computer Associates.  
  202. DBASE III+ and DBASE III are trademarks of Borland
  203.  
  204. All references in this documentation to trademarks, copyrights, registered
  205. names or the like are intended only as a reference and do not contain any
  206. inference.
  207.